<!-- 我的表格 -->

<template>
  <WebTable class="ControlTag-MyTable">
    <RowIndex />

    <RowTitle :label="`${CORE.MAP.ASSET}名称`" bind="deviceName" />

    <RowDict label="设备类别" bind="deviceCategoryId" :dict="$root.iot_category_selectDict" />

    <RowDict label="设备类型" bind="deviceTypeId" :dict="$root.iot_type_selectDict" />

    <RowTree :label="`所在${CORE.MAP.REGION}`" bind="regionId" :dict="CORE.REGION.DICT" allName :minWidth="120" />

    <RowStatus label="人脸库创建" bind="faceCreateStatus" :dict="DICT.STATUS" width="auto" />

    <RowOperate bind="faceCreateStatus" :btns="MAP.BTNS" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('../../components', true, /vue$/)),
}
</script>

<style lang="scss">
@import './index.scss';
</style>
